package com.xinqi.modules.sys.log.client;

import com.xinqi.common.base.constants.ServiceNameConstants;
import com.xinqi.common.base.response.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 操作日志记录客户端
 *
 * @author: yyzhen
 * @date: 2023/08/23
 */
@FeignClient(contextId = "operatorLogClient", value = ServiceNameConstants.XQ_SYS)
public interface OperatorLogClient {
    /**
     * 新增操作日志记录
     */
    @PostMapping("/inner/operator-log/add")
    R<Long> insert(@RequestBody Map<String, Object> map);

}
